import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = false

// Vue.directive('color',function(el,obj) {
//   el.style.color = obj.value
// })
Vue.directive('color',{
  bind(el,obj) {
    el.style.color = obj.value
  },
  update(el,obj) {
    el.style.color = obj.value
  }
})
new Vue({
  render: (h) => h(App),
}).$mount('#app')

